#include <iostream>
#include <unistd.h>
#include "../../plcc/EventProcess.h"
#include "../../plcc/setting/UserSettings.h"
using namespace std;

int main () {
  EventProcess *p = EventProcess::GetInstance();
  p->Start();
 sleep(1);
  
  uint32_t yang =0;
  yang = (1<<10)|(2<<8)|(3<<6)|(3<<4)|(2<<2)|1;
    p->AddEvents_setting(yang);

  /*DataPoll yang1 = {
    2,
    2,
    2,
    2,
    2,
    2
  };
    p->AddEvents_setting(yang1);
*/
  p->Join();
  delete p;
}
